package com.web.model;

public interface WebBrowser {
	
	public <T extends WebPage> T open(Class<T> pageClass);
	
	public void quit();

	public ScreenShot takeScreenShot();
	
	public boolean isUrlMatching(final String pattern);
	
	public boolean isTitlePresent(String title);
	
	public boolean isTextPresent(String title);
	
	public void deleteCookies();
	
	public boolean isAlive();
}
